<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>wzb-admin-ajax</title>
	<!-- bootstrap -->
	<link rel="stylesheet" href="./css/bootstrap.min.css">
</head>
<body>
	<!-- 列表 -->
	<div class="container">
		<div class="row clearfix">
			<div class="col-md-12 column">
				<div class="page-header">
					<h1 style="display: inline-block;">
						列表 <small>demo</small>
					</h1>
					<a href="./add.html" class="btn btn-info pull-right navbar-text">添加</a>
				</div>
			</div>

			<div class="col-md-12 column">
				<form action="" class="js-ajax-form" method="get">
					<div class="well form-inline">
		                用户名:<input type="text" class="form-control" name="ProFactory" style="width: 200px;" value="" placeholder="请输入商户名称">&nbsp;&nbsp;
		                年龄:
		                <select id="age" name="age" class="form-control">
		                	<option value="">全部</option>
		                	<option value="5">1-5</option>
		                	<option value="10">5-10</option>
		                	<option value="15">10-15</option>
		                	<option value="20">15-20</option>
		                </select>
		                <input id="search" type="submit" class="btn btn-primary" value="搜索" style="margin-bottom: 0px;">&nbsp;&nbsp;
	                	<a class="btn btn-danger" href="index.html">清空</a>
                	</div>
				</form>
				<form class="js-ajax-form" method="post" action="demo.php?a=delete&ids=1">
					<button data-subcheck='true' class="btn btn-danger pull-right js-ajax-submit" type="submit">批量删除</button>
					<table class="viewer table table-hover table-striped table-bordered js-check-wrap">
						<thead>
							<tr>
								<th><input type="checkbox" class="js-check-all" data-direction="x" data-checklist="js-check-x"></th>
								<th>姓名</th>
								<th>头像</th>
								<th>年龄</th>
								<th>操作</th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td>
									<input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]" value="1">
								</td>
								<td>张三</td>
								<td><img src="./img.jpg" alt="" width="35"></td>
								<td>18</td>
								<td>
									<a href="#edit" class="btn btn-info">编辑</a>
									<a href="demo.php?a=delete&ids=1" class="btn btn-danger js-ajax-dialog" data-msg="确认删除吗?">删除</a>
								</td>
							</tr>
							<tr>
								<td>
									<input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]" value="2">
								</td>
								<td>李四</td>
								<td><img src="./img.jpg" alt="" width="35"></td>
								<td>19</td>
								<td>
									<a href="#edit" class="btn btn-info">编辑</a>
									<a href="demo.php?a=delete&ids=2" class="btn btn-danger js-ajax-dialog" data-msg="确认删除吗?">删除</a>
								</td>
							</tr>
							<tr>
								<td>
									<input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]" value="3">
								</td>
								<td>王五</td>
								<td><img src="./img.jpg" alt="" width="35"></td>
								<td>25</td>
								<td>
									<a href="#edit" class="btn btn-info">编辑</a>
									<a href="demo.php?a=delete&ids=3" class="btn btn-danger js-ajax-dialog" data-msg="确认删除吗?">删除</a>
								</td>
							</tr>
						</tbody>
					</table>
				</form>
			</div>
		</div>
	</div>
</body>

<!-- jquery -->
<script src="https://cdn.staticfile.org/jquery/1.12.3/jquery.min.js"></script>
<!-- vierew图片预览插件 -->
<link rel="stylesheet" href="./js/viewer/viewer.css">
<script src="./js/viewer/viewer.js"></script>
<!-- layer -->
<script src="./js/layer/layer.js"></script>
<script src="./js/layer/extend/layer.ext.js"></script>
<!-- validate -->
<script src="./js/validate/jquery.validate.min.js"></script>
<script src="./js/validate/methods.js"></script>
<script src="./js/validate/messages_zh.min.js"></script>
<!-- ajaxForm -->
<script src="./js/ajaxForm.js"></script>
<!-- admin.js -->
<script src="./js/admin.js"></script>

</html>